home *** CD-ROM | disk | FTP | other *** search
- Path: news.mountain.net!usenet
- From: gene_heskett@wvlink.mpl.com (Gene Heskett)
- Newsgroups: comp.sys.amiga.networking
- Subject: Re: Is PPP recoverable after reset???
- Date: 19 Mar 96 23:13:58 +0500
- Organization: MountainNet, Inc. Morgantown WV 800.444.1458
- Message-ID: <1548.6652T1393T2920@wvlink.mpl.com>
- References: <Pine.OSF.3.91.960319105636.3279B-100000@Galeon.uca.es>
- NNTP-Posting-Host: slip3.mpl.com
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
-
- MLC> If I've connected with PPP to my Internet provider and the Amiga
- MLC> crashed and reset itself (the modem no hang up), may I recover
- MLC> the connection without hang up and dial again ? How I do
- MLC> ???
-
- MLC> Thanks in advance.
-
- Relatively easily. I have a script that run from toolmanager in that
- case, which is basicly the startnet script without the dialup stuffs.
-
- I keep it in AmiTCP:bin, but as long as toolmanager can find it.
- -----------------------------script start-----------------------
- AmiTCP:bin/online devs:networks/ppp.device 0
- AmiTCP:bin/login -f Your_AmiTCP_registered_name
- AmiTCP:bin/umask 022
- AmiTCP:AmiTCP
- WaitForPort AMITCP
- ; Configure loop-back device
- AmiTCP:bin/ifconfig lo0 localhost
- ; Configure ppp0
- AmiTCP:bin/ifconfig ppp0 $ppp0iplocal $ppp0ipremote
- ; Add route to this host
- AmiTCP:bin/route add $ppp0iplocal localhost
- AmiTCP:bin/route add default $ppp0ipremote
- Assign TCP: Exists > NIL:
- IF Warn
- Mount TCP: from AmiTCP:devs/Inet-Mountlist
- EndIf
- run >NIL: AMITCP:serv/inetd
- Wait 1
- ; and, if your DNS is as stupid as mine
- setenv HOSTNAME "you@your.server.provider.etc"
- ;else Amosaic won't run
- If Exists AmiTCP:db/User-Startnet
- Execute AmiTCP:db/User-Startnet
- EndIf
- -----------------------------script end---------------------------
- Hope this helps
-
- /* Gene Heskett | These opinions are NOT to be */
- /* CE @ WDTV Weston/Clarksburg WV | confused with the official */
- /* <gene_heskett@wvlink.mpl.com> | WDTV managment views */
- #include <std.disclaimer>
-
-
-